package com.cnstrong.webview2

import com.tencent.smtt.sdk.WebView

interface JsBridgeDeal {

    fun getWebViewInstance(): WebView

    fun registerHtmlDataHandler(name: String, handler: HtmlDataHandler)

    fun unRegisterHtmlDataHandler(name: String)

    fun callJs(method: String, data: String?)

    fun responseJsCall(callback: String, data: String?)
}